﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrLogin.ascx.cs" Inherits="Controls_Common_ctrLogin" %>
<%-- <div  class="dtbaker_widget widget_wp3newsletter_subscribe"><div class="dtbaker_widget_bottom"><div class="text">			  <h2 class="widgettitle"><strong>ĐĂNG NHẬP HỆ THỐNG</strong></h2>
			<div class="ProductMid" style="width:245px;padding-left:10px">
			
			
				
				<table id="newsletter_subscribe">
					<tbody>
										<tr id="newsletter_subscribe_name">
						<th align="left">
							<label for="wp3newsletter_name">Username:</label>
						</th>
						<td>
							<input type="text" name="wp3newsletter_name" id="wp3newsletter_name"/>
						</td>
					</tr>
										<tr id="newsletter_subscribe_email">
						<th align="left">
							<label for="wp3newsletter_email">Mật khẩu:</label>
						</th>
						<td>
							<input type="text" name="wp3newsletter_email" id="wp3newsletter_email"/>
						</td>
					</tr>
										
					
										<tr id="newsletter_subscribe_submit">
						<td colspan="2" align="center" style="padding-left:30px">
							<input type="submit" name="subscribe" value="Subscribe"/>
						</td>
					</tr>
					
					</tbody>
				</table>
				
				</div>
			</div>
			 <div style="padding-bottom:20px"><img src="images/Layout/p_botom.png"></div>	
		  <hr class="clear"/></div></div>--%>
		  


<div id="block" runat ="server"  class="block block-block odd   grid16-6" style ="margin:10px 10px 10px 5px">
  <div class="inner clearfix" id="divlogin" runat ="server" >
            <h2 class="title block-title"><span><asp:Label ID="lblLogin" runat="server"  ></asp:Label></span></h2>
        <div class="content clearfix">
		<div id="myContent">
		    <table cellpadding =0; cellspacing =0; border="0";>
		        <tr>
		            <td colspan="2">
		             <asp:Label id="lblMessage" runat ="server" ForeColor="Red" Font-Bold="true" ></asp:Label>
		            </td>
		        </tr>
		        <tr>
		            <td style ="width :175px">
                        <div style ="padding-bottom:15px ">
                            <asp:Label ID="lblUsername" runat ="server" Width="50px" ></asp:Label>
                            <asp:TextBox ID="txtEmail" runat ="server"  ValidationGroup="Input" Width="120px"></asp:TextBox>
                        </div>
                        <div style ="padding-bottom:7px ">
                            <asp:Label ID="lblPassword" runat ="server" Width="50px"  ></asp:Label>
                            <asp:TextBox ID="txtPassword" runat ="server" ValidationGroup="Input" TextMode="Password" Width="120px"  ></asp:TextBox>
                        </div>
		            </td>
		             <td>
		               <div style ="float :left ;">
                           
                            <asp:Button ID="btnLogin" runat ="server"   ValidationGroup="Input" onclick="btnLogin_Click"/>
                        </div>
		              <div  style ="float :left ;  "><ul><li ><asp:HyperLink ID="lnkRegister" runat ="server" NavigateUrl="~/Register.aspx" ></asp:HyperLink></li>
<%--<li ><asp:HyperLink ID="lnkForgotPass" runat ="server" NavigateUrl="~/ForgotPassword.aspx"  ></asp:HyperLink></li>--%>
</ul></div>
                      
		            </td>
		        </tr>
		    </table>
		  
		   
		   
		</div>
    </div>
  </div><!-- /block-inner -->
</div><!-- /block -->
<!--Validator Empty-->
<asp:RequiredFieldValidator ID="rfvEmail" runat="server" SetFocusOnError="true"   ControlToValidate="txtEmail" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvPassword" runat="server" SetFocusOnError="true"   ControlToValidate="txtPassword" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server" ValidationGroup="Input" ShowSummary="False" />
